﻿using System;

namespace CMS.ORM.Model
{
    /// <summary>
    /// 实体类NewsVote 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class NewsVote
    {
        public NewsVote()
        { }
        #region Model
        private decimal _id;
        private decimal _newsid;
        private decimal _voteid;
        private DateTime _deadline;
        /// <summary>
        /// 计数器
        /// </summary>
        public decimal id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 新闻ID
        /// </summary>
        public decimal newsID
        {
            set { _newsid = value; }
            get { return _newsid; }
        }
        /// <summary>
        /// 投票ID
        /// </summary>
        public decimal voteID
        {
            set { _voteid = value; }
            get { return _voteid; }
        }
        /// <summary>
        /// 投票结束时间
        /// </summary>
        public DateTime deadline
        {
            set { _deadline = value; }
            get { return _deadline; }
        }
        #endregion Model

    }
}


